package com.shanyin.framework.member.enums;

import com.shanyin.framework.common.enums.ICommonEnum;

import lombok.Getter;

/***
 ** @category 请用一句话来描述其用途...
 ** @author qing.yunhui
 ** @email: 280672161@qq.com
 ** @createTime: 2018年5月24日下午2:56:08
 **/
public class SysUserEnum {

	//状态(10.有效、20.已注销)
	@Getter
	public enum STATUS implements ICommonEnum{
		
		/**有效*/
		VALID(10,"有效"),
		/**无效(注销)*/
		INVALID(20,"已注销");
		
		private Integer key;
		private String value;
		
		private STATUS(int key, String value){
			this.key = key;
			this.value = value;
		}

		public String getCode() {
			return String.valueOf(key);
		}

	}
	
}
